package com.yy.personalcv.mapper;

import com.yy.personalcv.pojo.Internship;

import java.util.List;
import java.util.Map;

public interface InternshipMapper {
    void addInternship(Internship internship);

    List<Internship> selectTen(Map map);

    int getInternshipCounts(int uid);

    Internship getInternshipDetail(int id, int uid);

    void deleteInternship(int id, int uid);

    List<Internship> selectAll(int uid);

    void updateInternship(Internship internship);
}
